package model
{
	import events.TaskEvent;
	
	import flash.events.EventDispatcher;

	public class TaskModel extends EventDispatcher
	{
		public function TaskModel()
		{
		}
		
		public function updateGameDailyXml(xml:XML):void
		{
			var event:TaskEvent = new TaskEvent(TaskEvent.GAME_DAILY);
			event.xml = xml;
			dispatchEvent(event);
		}
		
		public function updateGameOnceXml(xml:XML):void
		{
			var event:TaskEvent = new TaskEvent(TaskEvent.GAME_ONCE);
			event.xml = xml;
			dispatchEvent(event);
		}
	}
}